import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';
import { ViewModel, NgCommand } from '@farris/devkit';
import { Observable } from 'rxjs';
var XstgNxghComponentViewmodel = /** @class */ (function (_super) {
    tslib_1.__extends(XstgNxghComponentViewmodel, _super);
    function XstgNxghComponentViewmodel() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.bindingPath = '/xstgs';
        _this.dom = {};
        return _this;
    }
    XstgNxghComponentViewmodel.prototype.xstgnxghAddFileRows = function (commandParam) { return; };
    XstgNxghComponentViewmodel.prototype.xstgnxghRemoveFileRows = function (commandParam) { return; };
    tslib_1.__decorate([
        NgCommand({
            name: 'xstgnxghAddFileRows',
            params: {
                fileInfoFieldPath: '/xstgs/fjxx'
            },
            paramDescriptions: {
                fileInfoFieldPath: { type: 'string' }
            }
        }),
        tslib_1.__metadata("design:type", Function),
        tslib_1.__metadata("design:paramtypes", [Object]),
        tslib_1.__metadata("design:returntype", Observable)
    ], XstgNxghComponentViewmodel.prototype, "xstgnxghAddFileRows", null);
    tslib_1.__decorate([
        NgCommand({
            name: 'xstgnxghRemoveFileRows',
            params: {
                fileInfoFieldPath: '/xstgs/fjxx'
            },
            paramDescriptions: {
                fileInfoFieldPath: { type: 'string' }
            }
        }),
        tslib_1.__metadata("design:type", Function),
        tslib_1.__metadata("design:paramtypes", [Object]),
        tslib_1.__metadata("design:returntype", Observable)
    ], XstgNxghComponentViewmodel.prototype, "xstgnxghRemoveFileRows", null);
    XstgNxghComponentViewmodel = tslib_1.__decorate([
        Injectable()
    ], XstgNxghComponentViewmodel);
    return XstgNxghComponentViewmodel;
}(ViewModel));
export { XstgNxghComponentViewmodel };
